/*
 * Copyright 2011 Angel Sanadinov
 *
 * This file is part of VBox WMI.
 *
 * VBox WMI is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * VBox WMI is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with VBox WMI.  If not, see <http://www.gnu.org/licenses/>.
 */

package Utilities;

/**
 * Parameter names for objects stored in various scopes of the web application.
 *
 * @author Angel Sanadinov
 */
public class ParameterNames
{
    private ParameterNames(){}

    //initialization parameters
    public static final String CONFIGURATION_FILE = "configFile";
    public static final String COMPRESSION_ALGORITHM = "compressionAlgorithm";
    public static final String PASSWORD_HASHING_ALGORITHM = "passwordHashingAlgorithm";
    public static final String DEFAULT_CHARSET = "defaultSystemCharset";
    public static final String MAX_OPERATION_WAIT_TIME = "maxVirtualBoxOperationWaitTime";
    public static final String REPORTING_LOGGING_LEVEL = "reportingLoggingLevel";
    public static final String REMOTE_SESSION_TYPE = "remoteSessionType";

    //session parameters
    public static final String SESSION_USER_OBJECT = "userObject";
    public static final String SESSION_REQUEST_MESSAGES_OBJECT = "messagesObject";

    //request parameters
    public static final String REQUEST_LOGIN = "loginRequest";
    public static final String REQUEST_LOGOUT = "logoutRequest";
    public static final String REQUEST_MANAGE_USER = "manageUserRequest";
    public static final String REQUEST_MANAGE_SERVER = "manageServerRequest";
    public static final String REQUEST_MANAGE_MEDIUM = "manageMediumRequest";
    public static final String REQUEST_MANAGE_MACHINE = "manageMachineRequest";
    public static final String REQUEST_MANAGE_NETWORK = "manageNetworkRequest";
    public static final String REQUEST_DATA_RETRIEVAL = "dataRetrievalRequest";

    //response parameters
    public static final String RESPONSE_LOGIN = "loginResponse";
    public static final String RESPONSE_MANAGE_USER = "manageUserResponse";
    public static final String RESPONSE_MANAGE_SERVER = "manageServerResponse";
    public static final String RESPONSE_MANAGE_MEDIUM = "manageMediumResponse";
    public static final String RESPONSE_MANAGE_MACHINE = "manageMachineResponse";
    public static final String RESPONSE_MANAGE_NETWORK = "manageNetworkResponse";
    public static final String RESPONSE_DATA_RETRIEVAL = "dataRetrievalResponse";

    /** An enumeration for all services available on the system. */
    public enum Service
    {
        INVALID_SERVICE,
        DATA_RETRIEVAL, MACHINES_MANAGEMENT, 
        MEDIA_MANAGEMENT, NETWORKS_MANAGEMENT,
        SERVERS_MANAGEMENT, USERS_MANAGEMENT,
        LOGIN_MANAGEMENT, LOGOUT_MANAGEMENT
    }
}
